package com.agricultural.machine.factory;

import com.agricultural.machine.factory.AbstractMachine;

/**
 * 喷洒机类
 */
public class SprayerMachine extends AbstractMachine {
    public SprayerMachine() {
        super("sprayer");
    }
    
    @Override
    public void work() {
        if (isRunning()) {
            System.out.println("喷洒机 " + getMachineId() + " 正在喷洒农药/肥料...");
        } else {
            System.out.println("喷洒机 " + getMachineId() + " 未启动，无法工作");
        }
    }
}















